Scheduler for WinForms | ComponentOne
C1.Win.C1Schedule.4.8 Assembly / C1.C1Schedule.Printing Namespace / DateAppointmentsCollection Class / DateAppointmentsCollection Constructor / DateAppointmentsCollection Constructor(DateTime,DateTime,IList<Appointment>,CalendarInfo,Boolean,Boolean)
The System.DateTime value representing the beginning of the date range.
The System.DateTime value representing the end of the date range.
The System.Collections.Generic.IList`1 list of appointments.
The C1.C1Schedule.CalendarInfo object containing calendar specific information.
The System.Boolean value specifying whether to include days without appointments into collection.
The System.Boolean value specifying whether to include weekend days into collection.

In This Topic
    DateAppointmentsCollection Constructor(DateTime,DateTime,IList<Appointment>,CalendarInfo,Boolean,Boolean)
    In This Topic
    Initializes a new instance of the DateAppointmentsCollection collection for the specified date range with appointment from the specified C1.C1Schedule.AppointmentCollection collection.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal start As System.Date, _
       ByVal end As System.Date, _
       ByVal appointments As System.Collections.Generic.IList(Of Appointment), _
       ByVal calendarInfo As CalendarInfo, _
       ByVal includeEmptyDays As System.Boolean, _
       ByVal includeWeekends As System.Boolean _
    )
    public DateAppointmentsCollection( 
       System.DateTime start,
       System.DateTime end,
       System.Collections.Generic.IList<Appointment> appointments,
       CalendarInfo calendarInfo,
       System.bool includeEmptyDays,
       System.bool includeWeekends
    )

    Parameters

    start
    The System.DateTime value representing the beginning of the date range.
    end
    The System.DateTime value representing the end of the date range.
    appointments
    The System.Collections.Generic.IList`1 list of appointments.
    calendarInfo
    The C1.C1Schedule.CalendarInfo object containing calendar specific information.
    includeEmptyDays
    The System.Boolean value specifying whether to include days without appointments into collection.
    includeWeekends
    The System.Boolean value specifying whether to include weekend days into collection.
    See Also